const express = require('express');
const router = express.Router();
const uploads = require("../middlewares/uploads")//上传文件中间件
const { positionAdd, positionGetList, positionDel, positionUpdate } = require("../controller/positionCtr")
//增
router.post('/add', uploads, positionAdd)

//删

router.get('/del/:id', positionDel)

//改

router.post('/update', positionUpdate)

//查
router.get("/getList", positionGetList)



module.exports = router;